package com.user.enums;

public enum LoginStatus {

    success(1,"登陆成功"),
    passwordError(2,"账号或密码错误"),
    verificationCodeError(3,"验证码错误"),
    otherError(0,"其他错误");

    private int status;
    private String name;


    LoginStatus(int status, String name) {

        this.status = status;
        this.name=name;
    }

    public int getStatus() {
        return this.status;
    }

    public String getName() {
        return this.name;
    }
}

